﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="gsEdit.aspx.cs" MasterPageFile="~/default.Master"  Title = "编辑公事" Inherits="Webcar.SysManage.gsEdit" %>

<%@ Register Src="../Controls/NaviBar.ascx" TagName="NaviBar" TagPrefix="uc1" %>
<%@ Register Assembly="WebPager" Namespace="Zw.Control" TagPrefix="cc1" %>

<%@ Register assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxTabControl" tagprefix="dx" %>
<%@ Register assembly="DevExpress.Web.v10.2, Version=10.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxClasses" tagprefix="dx" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id = "gsedit">
    <uc1:NaviBar ID="NaviBar1" runat="server" />
        <dx:ASPxPageControl ID="ASPxPageControl1" runat="server" ActiveTabIndex="1" 
            Width="100%">
            <tabpages>
                <dx:TabPage Text ="公事编辑">
                    <contentcollection>
                        <dx:ContentControl runat="server">
                                    <div class="page">
                                        <div>
                                            <img alt="" src="../App_Themes/Default/image2/user_IsOnline.gif" />你当前正在进行公事编辑：</div>
                                        <hr class="line_blue" />
                                        <table cellpadding="3px" class="datalist" style="width: 100%">
                                            <tr>
                                                <td style="text-align: right; width: 100px">
                                                    *下达人:
                                                </td>
                                                <td style="text-align:left">
                                                    <asp:TextBox ID="tbWriter" runat="server" Enabled="False" Width="150px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right; width: 100px">
                                                    *下达时间:
                                                </td>
                                                <td style="text-align:left">
                                                    <cc1:Calendar ID="Calendar1" runat="server" Enabled="False" IsWrite="False" 
                                                        Width="150px"></cc1:Calendar>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right; width: 100px">
                                                    文号:
                                                </td>
                                                <td style="text-align:left">
                                                    <asp:TextBox ID="tbWH" runat="server" Enabled="False" Width="150px"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right; width: 100px">
                                                    *内容:
                                                </td>
                                                <td style="text-align:left">
                                                    <asp:TextBox ID="tbContent" runat="server" Rows="14" TextMode="MultiLine" 
                                                        Width="99%"></asp:TextBox>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right; width: 100px">
                                                    附件:
                                                </td>
                                                <td style="text-align:left">
                                                    支持格式:rar|zip|doc|xls|ppt|docx&nbsp;&nbsp;&nbsp;<asp:FileUpload ID="FileUpload1" runat="server" 
                                                        Width="80%" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: right; width: 100px">
                                                    当前附件:
                                                </td>
                                                <td style="text-align:left">
                                                    <asp:Label ID="lblFile" runat="server" Text="无附件"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                        </dx:ContentControl>
                    </contentcollection>
                </dx:TabPage>
                <dx:TabPage  Text ="发送人员">
                    <contentcollection>
                        <dx:ContentControl runat="server">
                        <div class="page">
                                        &nbsp;&nbsp;&nbsp;&nbsp;
                                        <asp:LinkButton ID="LinkButton1" runat="server" OnClick="selectAll_Click">全选</asp:LinkButton>
                                        <asp:LinkButton ID="LinkButton2" runat="server" OnClick="unselectAll_Click">全不选</asp:LinkButton>
                                        <asp:CheckBoxList ID="CheckBoxList1" runat="server" BorderWidth="0px" 
                                            CssClass="div_blue" RepeatColumns="5" RepeatDirection="Horizontal" Width="100%">
                                        </asp:CheckBoxList>
                                    </div>
                        </dx:ContentControl>
                    </contentcollection>
                </dx:TabPage>
            </tabpages>
        </dx:ASPxPageControl>
        
          
    </div>
    <div style ="margin-top:10px;text-align:left">
        <div style ="float:left">
            <asp:Label ID="lblMsg" ForeColor="red" runat="server" Text="" ></asp:Label></div>
        <div style ="text-align:center">
            <asp:Button ID="Button1" runat="server" Text="保存" SkinID="default_button" Width="67px" OnClick="Button1_Click" UseSubmitBehavior="False" />
             <input id="Button2" type="button" value="返回" style="width:60px" class="button" onclick="javascript:history.back(1);" />
        </div> 
    </div>
    
</asp:Content>